package org.apmap.servlets;

import org.apmap.base.Flat;

public class DWRServlet {

    public DWRServlet() {
        System.out.println("DWRServlet.DWRServlet");
    }

    public String doSmth() {
        System.out.println("DWRServlet.doSmth");
        return "abcdefgh";
    }

    public Person getPerson() {
        Person person = new Person();
        person.setName("Abcde");
        person.setAge(20);
        return person;
    }

    public String[] getArray() {
        return new String[] {"aaa", "bbb", "ccc"};
    }

    public Flat[] getArrayFlat() {
        return new Flat[] {new Flat(), new Flat(), new Flat()};
    }
}
